package com.gxa.modules.pc.hospital.noticeback.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gxa.modules.model.dto.HospitalDto;
import com.gxa.modules.model.entity.hospital.Hospital;
import com.gxa.modules.pc.hospital.noticeback.mapper.HospitalBackMapper;
import com.gxa.modules.pc.hospital.noticeback.service.HospitalBackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 医院简介表 服务实现类
 * </p>
 *
 * @author lst
 * @since 2022-11-14 09:05:41
 */
@Service
public class HospitalBackServiceImpl extends ServiceImpl<HospitalBackMapper, Hospital> implements HospitalBackService {

    @Autowired
    private HospitalBackMapper hospitalBackMapper;


    @Override
    public int insertHospital(HospitalDto hospitalDto) {
        return hospitalBackMapper.insertHospital(hospitalDto);
    }
}
